<form action="<?php echo site_url("Location/delete_location_process/$a_loc[id_location]") ?>" method="POST">
    <table class="table table-bordered table-striped">
        <tr>
            <th>ID</th>
            <th>Location Name</th>
            <th>Latitude</th>
            <th>Longitude</th>
            <th>Added By</th>
            <th width="20%">Action</th>
        </tr>

        <tr>
            <td>
                <?php  echo $a_loc['id_location'] ?>
            </td>
            <td>
                <?php  echo $a_loc['location_name'] ?>
            </td>
            <td>
                <?php  echo $a_loc['global_latitude'] ?>
            </td>
            <td>
                <?php  echo $a_loc['global_longitude'] ?>
            </td>
            <td>
                <?php  echo $a_loc['username_admin'] ?>
            </td>
            <td align="center">
                <input type="submit" name="btn_delete_location" value="Delete Location" class="btn btn-danger btn-sm"/>
                <a class="btn btn-warning btn-sm" href="<?php echo site_url('Admin/location') ?>">Cancel</a>
            </td>
        </tr>
    </table>
</form>